/*
 * @Author: wangc
 * @Date: 2020-08-08 18:50:55
 * @LastEditTime: 2020-08-09 19:17:33
 * @Description: 
 */
import Vue from 'vue'
/**判断当前设备是否为移动端 */
function isMobile(){
      let flag = navigator.userAgent.match(/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i)
      return flag;
}
Vue.prototype.isMobile = isMobile;